/* Set basic values for layout */
body { margin: 0; padding: 0; background: url(/images/main/bg_up.jpg) top left repeat-x; }
body { overflow-x: hidden; }
html, body { height: 100%; }

/* wrapper */
#wrap { width: 1010px; margin: 0 auto; }
#container { position: relative; top: -30px; min-height: 100%; }

/* 
  User profile navigation
  On the top of the page
*/
#profile_navigation { list-style-type: none; position: relative; left: 700px; }
#profile_navigation li { display: inline; }

#profile_navigation li.my_profile { background: url(/images/main/logout.gif); }

/* header, big content */
#header { width: 1010px; background: url(/images/main/head.png); height: 358px; }

/* navigation */
#navigation { width: 893px; height: 42px; background: url(/images/main/linkbar.png) no-repeat; }
#navigation { position: relative; left: 55px; top: 46px; }
#navigation { list-style-type: none; }

#navigation li { float: left; margin-left: 16px; position: relative; top: 14px; }
#navigation li a { margin-right: 14px; }

#navigation li.company_projects { float: right; position: relative; right: 10px; }
#navigation li.company_users { float: right; position: relative; right: 150px; }

/* Sub navigation */
#sub_navigation { position: relative; top: 120px; left: 55px; }
#sub_navigation li { list-style-image: url(/images/main/li.gif); }
#sub_navigation li a { text-decoration: none; font-size: 13px; }
#sub_navigation li a:hover { text-decoration: underline; }

.copyright { position: relative; top: 40px; }


/* application logo */
#logo { position: relative; top: 60px; left: 80px; background: url(/images/main/logo.png); width: 273px; height: 53px; text-indent: -9999px; }

/* content tabs */
.tab { float: left; margin-left: 30px; background: url(/images/main/box.jpg) no-repeat; width: 290px; height: 426px; }
.tab div { padding: 50px 50px; }

/* footer */
#footer { height: 109px; background: url(/images/main/bg_down.jpg) top left repeat-x; }
#footer { width: 100%; position: absolute; bottom: 0; text-align: center; }

/* Content */
#content { position: relative; left: 32px; padding-bottom: 120px; width: 945px; }

/* Adjust content width for front pages columns */
body#home #content { width: 980px; left: 2px; }

/* Export hours table */
#export_hours { font-size: 11px; }
#export_hours th { text-align: left; }

/* Working hours table */
.hours-expenses-table th { text-align: left; }

/* Layout user profile */
#user_profile {position: relative; top: 60px; left: 52px;}
#user_profile img { padding:0; margin:0; border: 2px solid #ccc; }

.clear { clear: both; }